package com.link.base.base.dailystatement.dao.mybatis.mapper;


import com.link.base.base.dailystatement.model.DailyInvtxn;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;
/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  安小波
 * @date:   2018-08-01
 * @version 1.0
 */

public interface DailyInvtxnMapper extends BasicMapper<DailyInvtxn> {
    /**
     * 统计日结详情中库存明细的信息
     *
     * @param entity
     * @return
     * @throws Exception
     */
    public List<DailyInvtxn> queryInvtxn(DailyInvtxn entity) throws Exception;

    /**
     * 根据headId查询库存明细信息
     *
     * @param entity
     * @return
     * @throws Exception
     */
    public List<DailyInvtxn> queryByHeadId(DailyInvtxn entity) throws Exception;

    /**
     * 批量插入库存明细
     *
     * @param invtxnList
     * @throws Exception
     */
    public void batchInsertInvtxn(List<DailyInvtxn> invtxnList) throws Exception;

}
